package com.shop2cn.iapi.shenqiriskcontrol.testcase;

import java.math.BigDecimal;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.shop2cn.iapi.shenqiriskcontrol.parameter.ShenqiRiskCheckBySinglePayTypeReq;
import com.shop2cn.iapi.shenqiriskcontrol.service.CounterService;
import com.shop2cn.iapi.shenqiriskcontrol.service.ShenqiRiskCheckBySinglePayTypeCall;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.TestCase;
import com.ymt.utils.tag.P1;
import com.ymttest.utils.YMTDateUtil;

// 不走自动化jenkins，测试前需要在disconf配置shenqiriskcontrol，去除白名单配置
public class Ts_ShenqiRiskCheckBySinglePayType {
	
	private static ShenqiRiskCheckBySinglePayTypeReq shenqiRiskCheckBySinglePayTypeReq;
	private static ShenqiRiskCheckBySinglePayTypeCall shenqiRiskCheckBySinglePayTypeCall;

	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("支付前神器风控");
	}

	@Before
	public void caseUp() {
		shenqiRiskCheckBySinglePayTypeReq = new ShenqiRiskCheckBySinglePayTypeReq();
		shenqiRiskCheckBySinglePayTypeCall = new ShenqiRiskCheckBySinglePayTypeCall();
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(shenqiRiskCheckBySinglePayTypeCall.getOpurl());
	}

	@After
	public void caseDown() {
		Logger.end();
	}

	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_001() {
		Logger.start(true, "神器风控验证通过");
		try {

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(500213064L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(500213064L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal("10000"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");
			
			shenqiRiskCheckBySinglePayTypeCall.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(true, shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(true, shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo().getPass(), "验证pass");
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_002() {
		Logger.start(true, "付款金额超过每日限额");
		try {

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(500213064L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(500213064L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal(
					"100000"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");

			shenqiRiskCheckBySinglePayTypeCall
					.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，你的支付金额不能超过25000，请联系卖家",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals(String.format(
					"超过商家的限额，mchId:%s, 限额:25000，支付金额:100000",
					shenqiRiskCheckBySinglePayTypeReq.getGoodsOwnerId()),
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");

		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_003() {
		Logger.start(true, "付款金额超过每月限额");
		try {
			
			// 在redis添加昨天的金额
			CounterService.setUserPaidAmountSum(
					"500003848hpAccount_20238UserPaidAmountSum", 10000000,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal("1"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");
			
			shenqiRiskCheckBySinglePayTypeCall.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，今天买太多，先歇歇吧~",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals("微信一个月内付款金额最多为:100000, 当前为:100001.00",
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");
			
			// 复原redis中的金额
			CounterService.setUserPaidAmountSum(
					"500003848hpAccount_20238UserPaidAmountSum", -10000000,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_005() {
		Logger.start(true, "付款笔数超过每月限额");
		try {
			
			// 在redis添加昨天的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter", 300,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal("1"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");
			
			shenqiRiskCheckBySinglePayTypeCall.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，今天买太多，先歇歇吧~",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals("微信一个月内付款笔数最多为:50, 当前为:301",
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");
			
			// 复原redis中的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter", -300,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_006() {
		Logger.start(true, "付款笔数超过每日限额");
		try {
			
			// 在redis添加昨天的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter", 30,
					YMTDateUtil.addDays(0, YMTDateUtil.YMDTHMS_STRING));

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal("1"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");
			
			shenqiRiskCheckBySinglePayTypeCall.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，今天买太多，先歇歇吧~",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals("微信一天内付款笔数最多为:15, 当前为:31",
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");
			
			// 复原redis中的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter", -30,
					YMTDateUtil.addDays(0, YMTDateUtil.YMDTHMS_STRING));
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_007() {
		Logger.start(true, "超过每月付款笔数*总金额");
		try {
			
			// 在redis添加昨天的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter", 49,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));
			
			CounterService.setUserPaidAmountSum(
					"500003848hpAccount_20238UserPaidAmountSum", 50000,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal("59999"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");
			
			shenqiRiskCheckBySinglePayTypeCall.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，今天买太多，先歇歇吧~",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals("微信一个月内付款笔数*总金额最多为:3000000, 当前为:3024950.00",
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");
			
			// 复原redis中的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter", -49,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));
			
			CounterService.setUserPaidAmountSum(
					"500003848hpAccount_20238UserPaidAmountSum", -50000,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_008() {
		Logger.start(true, "超过每日付款笔数*总金额");
		try {
			
			// 在redis添加昨天的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter", 14,
					YMTDateUtil.addDays(0, YMTDateUtil.YMDTHMS_STRING));

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal("50000"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");
			
			shenqiRiskCheckBySinglePayTypeCall.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，今天买太多，先歇歇吧~",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals("微信一天内付款笔数*总金额最多为:300000, 当前为:750000.00",
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");
			
			// 复原redis中的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter", -14,
					YMTDateUtil.addDays(0, YMTDateUtil.YMDTHMS_STRING));
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_009() {
		Logger.start(true, "超过每月支付金额为1w整数倍总笔数");
		try {
			
			// 在redis添加昨天的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter_10000", 3,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal("20000"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");
			
			shenqiRiskCheckBySinglePayTypeCall.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();
			
			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，交易异常~请联系商家吧~",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals("微信一个月内支付金额为1w整数倍付款笔数最多为:3, 当前为:4",
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");
			
			// 复原redis中的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter_10000", -3,
					YMTDateUtil.addDays(-1, YMTDateUtil.YMDTHMS_STRING));
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	public void Tc_ShenqiRiskCheckBySinglePayType_010() {
		Logger.start(true, "超过每天支付金额为1w整数倍总笔数");
		try {
			
			// 在redis添加昨天的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter_10000", 2,
					YMTDateUtil.addDays(0, YMTDateUtil.YMDTHMS_STRING));

			shenqiRiskCheckBySinglePayTypeReq.setAppName("wxsqBuyer");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(502216124L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal("20000"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6000");
			
			shenqiRiskCheckBySinglePayTypeCall.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，交易异常~请联系商家吧~",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals("微信一天内支付金额为1w整数倍付款笔数最多为:2, 当前为:3",
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");
			
			// 复原redis中的金额
			CounterService.setUserPaidCounter(
					"500003848hpAccount_20238UserPaidCounter_10000", -2,
					YMTDateUtil.addDays(0, YMTDateUtil.YMDTHMS_STRING));
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
	
	@Test
	@Category({ P1.class })
	@TestCase
	@Ignore
	public void Tc_ShenqiRiskCheckBySinglePayType_011() {
		Logger.start(true, "付款金额超过每日限额，支付宝");
		try {

			shenqiRiskCheckBySinglePayTypeReq.setAppName("500041475");
			shenqiRiskCheckBySinglePayTypeReq.setGoodsOwnerId(500041475L);
			shenqiRiskCheckBySinglePayTypeReq.setUserId(500003848L);
			shenqiRiskCheckBySinglePayTypeReq.setSellerId(500041475L);
			shenqiRiskCheckBySinglePayTypeReq.setPayAmount(new BigDecimal(
					"100000"));
			shenqiRiskCheckBySinglePayTypeReq.setShenqiProxyBuyOrder(true);
			shenqiRiskCheckBySinglePayTypeReq.setDeviceId("deviceid1234");
			shenqiRiskCheckBySinglePayTypeReq.setPayType("6207");

			shenqiRiskCheckBySinglePayTypeCall
					.setData(shenqiRiskCheckBySinglePayTypeReq);
			shenqiRiskCheckBySinglePayTypeCall.callService();

			Logger.verifyEquals(false,
					shenqiRiskCheckBySinglePayTypeCall.isSuccess(), "验证success");
			Logger.verifyEquals(118,
					shenqiRiskCheckBySinglePayTypeCall.getRetultCode(),
					"验证errorCodeValue");
			Logger.verifyEquals("亲爱的，今天订单不能超过6万哦~",
					shenqiRiskCheckBySinglePayTypeCall.getErrorMessage(),
					"验证errorMessage");
			Logger.verifyEquals(false, shenqiRiskCheckBySinglePayTypeCall
					.getRiskCheckVo().getPass(), "验证pass");
			Logger.verifyEquals("支付宝一天内付款金额最多为:60000, 当前为:100000.00",
					shenqiRiskCheckBySinglePayTypeCall.getRiskCheckVo()
							.getMessage(), "验证message");

		} catch (Exception e) {
			Logger.fail(e);
		}
	}
}
